﻿using Jinjia.Core.BaseInfrastructure.BaseModel;

namespace Jinjia.Approve.Entity.Entity.JJFlow
{
    ///<summary>
    ///jj_flow_step
    ///表jj_flow_step的实体类
    ///</summary>
    public class jj_flow_step : BaseEntity
    {
        /// <summary>
        /// 流程模板ID
        /// </summary>
        public int template_id { get; set; }

        /// <summary>
        /// 来源节点
        /// </summary>
        public int from_node { get; set; }

        /// <summary>
        /// 去往节点
        /// </summary>
        public int to_node { get; set; }

        /// <summary>
        /// 当前节点
        /// </summary>
        public int current_node { get; set; }

        /// <summary>
        /// 任务ID
        /// </summary>
        public int instance_id { get; set; }

        /// <summary>
        /// 当前节点审批人
        /// </summary>
        public string current_user { get; set; }

        /// <summary>
        /// 是否满足条件
        /// </summary>
        public bool is_condition_satified { get; set; }

        /// <summary>
        /// 条件信息
        /// </summary>
        public string condition_name { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int step_type { get; set; }

        /// <summary>
        /// 对应BPM流程图里面节点ID
        /// </summary>
        public string bpm_nodeid { get; set; }

        /// <summary>
        /// 条件类型2方法  1表达式
        /// </summary>
        public int condition_type { get; set; }

        /// <summary>
        /// remark
        /// </summary>
        public string remark { get; set; }

        /// <summary>
        /// 优先级：数字越大，优先级越高
        /// </summary>
        public int priority { get; set; }
    }
}